﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _11._6
{
    
    internal class Program
    {
        static void Main(string[] args)
        {
            Checker checker = new Checker();

            ClassA a1= new ClassA();
            ClassB b1= new ClassB();
            ClassC c1 = new ClassC();
            ClassD d1 = new ClassD();
            MyStruct ms1 = new MyStruct();

            object ms2 = ms1;

            checker.Check(a1);
            checker.Check(b1);
            checker.Check(c1);
                
            checker.Check(d1);
            checker.Check(ms1);
            checker.Check(ms2);
            Console.ReadLine();
        }
    }
}
